<?php print(TpHtmlUtils::GetCombo($this->GetInputName('table'), $this->GetTable(), $this->GetOptions('tables'), false, false, sprintf("document.forms[1].refresh.value='%s';window.saveScroll();document.forms[1].submit();", $this->GetInputName('table')))); ?>&nbsp;<?php if ($this->GetTable() != null): ?><?php print(TpHtmlUtils::GetCombo($this->GetInputName('field'), $this->GetField(), $this->GetOptions('fields'), false, false, sprintf("document.forms[1].refresh.value='%s';window.saveScroll();document.forms[1].submit();", $this->GetInputName('field')))); ?><?php endif; ?>